import request from '@/utils/request';

/**
 * 获取角色列表
 * @param {*} params
 */
export async function getRoleList(params) {
  return request('/roleGroup/page', {
    method: 'GET',
    params,
  });
}

/**
 * 查询角色列表
 * @param {*} params
 */
export async function HandRoleList(params) {
  return request('/roleGroup/all', {
    method: 'GET',
    params,
  });
}
